package com.jun.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("sys_order_user")
public class SysOrderUser {

  @TableId(type = IdType.AUTO)
  private Integer id;

  @TableField(value = "order_id")
  private Integer orderId;

  @TableField(value = "user_id")
  private Integer userId;

  private String qrcode;

  private BigDecimal sumPrice;

  @TableField(value = "create_time")
  private LocalDateTime createTime;

}
